package com.wanjia.bpsapi.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 默认数据表
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@TableName("default_data")
@Schema(title ="DefaultData对象", description = "默认数据表")
@Data
public class DefaultData implements Serializable {

    @Schema(title = "ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(title = "uid")
    private Long uid;

    @Schema(title = "客户名称")
    private String nickname;

    @Schema(title = "毛利")
    private BigDecimal gross;

    @Schema(title = "折扣")
    private BigDecimal discount;

    @Schema(title = "商务费用")
    private BigDecimal businessExpense;


}
